package com.soft.javase.day10.practice.bifunction;

import java.util.function.BiFunction;

/**
 * @author yzg
 * @desc TODO
 * @date 2025/5/4
 */
public class BiFunctionDemo {
    public static void main(String[] args) {
        BiFunction<String, Integer, Person> person = Person::new;
        Person person1 = person.apply("张三", 18);

        System.out.println(person1);
    }
}
